#include "commandbase.h"

namespace QSignalSlotCenter
{
	CommandBase::CommandBase(int action, QUndoCommand *parent,const QString& text)
		:QUndoCommand(text,parent),_bIsSynchronizeCommand(false)
	{
		_action = action;
	}

	CommandBase::~CommandBase(void)
	{}

	void CommandBase::setName(const QString& name)
	{
		_commandName = name;
	}
}